---------------------------
-- Default awesome theme --
---------------------------

local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi

local gfs = require("gears.filesystem")
local themes_path = gfs.get_themes_dir()

local theme = {}

-- theme.font          = "sans 18"
theme.font = "Cousine Nerd Font Mono 11"

col_white = "#FFFFFF"
col_black = "#000000"
col_gray1 = "#222222"
col_gray2 = "#444444"
col_gray3 = "#bbbbbb"
col_gray4 = "#eeeeee"
col_cyan = "#005577"
col_blue = "#000066"
col_yellow = "#FFFF00"

theme.bg_normal = col_black
theme.bg_focus = col_white
theme.bg_urgent = col_white
theme.bg_minimize = col_gray2
theme.bg_systray = theme.bg_normal

theme.fg_normal = col_white
theme.fg_focus = col_black
theme.fg_urgent = col_black
theme.fg_minimize = col_black

theme.useless_gap = dpi(0)
theme.border_width = dpi(2)
theme.border_normal = col_black
theme.border_focus = col_yellow
theme.border_marked = "#91231c"

-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile]
-- tasklist_[bg|fg]_[focus|urgent]
-- titlebar_[bg|fg]_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
-- prompt_[fg|bg|fg_cursor|bg_cursor|font]
-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font]
-- Example:
theme.taglist_bg_focus = col_cyan
theme.taglist_fg_focus = col_white
theme.taglist_bg_occupied = col_black
theme.taglist_fg_occupied = col_white
theme.taglist_spacing = dpi(2)

theme.taglist_disable_icon = true
theme.layoutlist_disable_icon = true
theme.tasklist_disable_task_name = true
theme.tasklist_plain_task_name = true

-- Generate taglist squares:
-- local taglist_square_size = dpi(4)
-- theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
--     taglist_square_size, theme.fg_normal
-- )
-- theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
--     taglist_square_size, theme.fg_normal
-- )

-- Variables set for theming notifications:
-- notification_font
-- notification_[bg|fg]
-- notification_[width|height|margin]
-- notification_[border_color|border_width|shape|opacity]

-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_submenu_icon = themes_path .. "default/submenu.png"
theme.menu_height = dpi(15)
theme.menu_width = dpi(100)

-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000"

-- theme.wallpaper = themes_path.."default/background.png"
theme.wallpaper = "/home/usr/.local/share/wallpapers/brad-huchteman-stone-mountain.resized.jpg"

-- Generate Awesome icon:
theme.awesome_icon = theme_assets.awesome_icon(
  theme.menu_height, theme.bg_focus, theme.fg_focus
)

-- Define the icon theme for application icons. If not set then the icons
-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
theme.icon_theme = nil

return theme

-- vim: filetype=lua:expandtab:shiftwidth=2:tabstop=2:softtabstop=2:textwidth=80
